package yxy.game.pm2.module.fortdefeat;

public enum FortDefeatType {
	普通(1, 1), 困难(2, 16), 炼狱(3, 31);

	private int number;
	private int startId;

	private FortDefeatType(int number, int startId) {
		this.number = number;
		this.startId = startId;
	}

	public int getNumber() {
		return number;
	}

	public int getStartId() {
		return startId;
	}

	static public FortDefeatType forNumber(int value) {
		switch (value) {
		case 1:
			return 普通;
		case 2:
			return 困难;
		case 3:
			return 炼狱;
		default:
			return null;
		}
	}
}
